package com.kashow.bean.teacher.allanswers;

import com.kashow.bean.BaseBean;

/**
 * Created by cg on 17/1/4.
 */

public class AllAnswersListBean extends BaseBean {


    /**
     * _id : 2
     * student : {"headimgurl":"http://wx.qlogo.cn/mmopen/PxpCwCeBADPsn6PvP65icDkY7XLv8B5Bk5BcHggwPdZtavVBM1KcBSAKnHOaHFyeeSTWGl47j3RiaYjXVX2QzDq8lhQVKyFqMn/0","nickname":"asdsa"}
     * content : 老师这个问题太难了
     * createdAt : 2017-02-14 16:24:06
     * id : 2
     */

    private int _id;
    private StudentEntity student;
    private String content;
    private String createdAt;
    private String id;
    /**
     * reply : 我18岁
     */
    private String reply;
    /**
     * updatedAt : 2017-02-20 18:36:18
     */

    private String updatedAt;


    public AllAnswersListBean(int _id, StudentEntity student, String content, String createdAt, String id) {
        this._id = _id;
        this.student = student;
        this.content = content;
        this.createdAt = createdAt;
        this.id = id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public void setStudent(StudentEntity student) {
        this.student = student;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int get_id() {
        return _id;
    }

    public StudentEntity getStudent() {
        return student;
    }

    public String getContent() {
        return content;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public String getId() {
        return id;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public String getReply() {
        return null;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public static class StudentEntity {
        /**
         * headimgurl : http://wx.qlogo.cn/mmopen/PxpCwCeBADPsn6PvP65icDkY7XLv8B5Bk5BcHggwPdZtavVBM1KcBSAKnHOaHFyeeSTWGl47j3RiaYjXVX2QzDq8lhQVKyFqMn/0
         * nickname : asdsa
         */

        private String headimgurl;
        private String nickname;

        public StudentEntity(String headimgurl, String nickname) {
            this.headimgurl = headimgurl;
            this.nickname = nickname;
        }

        public void setHeadimgurl(String headimgurl) {
            this.headimgurl = headimgurl;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getHeadimgurl() {
            return headimgurl;
        }

        public String getNickname() {
            return nickname;
        }
    }
}
